package cn.micro.eye.type;

import cn.micro.eye.commons.validate.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;

/**
 * 逻辑删除
 *
 * @author lry
 */
@Getter
@AllArgsConstructor
public enum DeletedEnum implements IEnum {

    UN_DELETE(0, "未删除"),
    DELETED(1, "已删除");

    public static final List<Integer> GROUP = Arrays.asList(1, 2, 3, 4);

    private final int value;
    private final String title;

}
